import { lazy } from "react";
import { Routes, Route } from 'react-router-dom';
// const Home = lazy(() => import('@/pages/Home')) Home 不用 lazy
import Home from "@/pages/Home";

// 路由封装 方便管理 架构清晰
export default () => {
    return (
        <Routes>
            <Route path="/" element={<Home />}></Route>
        </Routes>
    )
}


